package com.opeace

class SchoolClass {
    
    public enum Subject {MATH, ENGLISH, HISTORY, SCIENCE, HUMANITIES, LANGUAGE, PHYSICS, CHEMISTRY, OTHER}
    public enum Grade {A, B, C, D, F}

    static belongsTo = [child: Child]

    String name
    String description
    int level
    Subject subject
    Grade grade
    School school
    Date dateCreated

    static constraints = {
    }
}
